<template name="login">
    <h2>Identificarse en el sistema</h2>
    <form name="login" method="post" action="" id="page_login_form">
        <table class="clean_table">
            <tr>
                <th><label>Nombre de usuario:</label></th>
                <td><input type="text" id="username_login" name="login[username]" /></td>
            </tr>
            <tr>
                <th>Contrase&ntilde;a:</label></th>
                <td><input type="password" id="username_password" name="login[password]" /></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: right"><input type="submit" id="login_page_login_button" value="INGRESAR"/></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: right">
                    <a href="{{password_forgot_action}}" id="login_page_password_button">Recuperar contrase&ntilde;a</a>
                    <a href="{{register_action}}" id="login_page_register_button">Registrate</a>
                </td>
            </tr>
        </table>
    </form>
    <script type="text/javascript">
        $(function(){
            $('#login_page_login_button').button();
            $('#login_page_register_button').button( { icons: {primary: "ui-icon-person"} } );
            $('#login_page_password_button').button( { icons: {primary: "ui-icon-key"} } );
        });
    </script>
</template>